#pragma once

#include <string>
using namespace std;

#include "pugixml/pugixml.hpp"

#include "topconn_exception.hpp"
#include "topconn_cfg.hpp"

namespace topconn
{
	class Connector
	{
	public:
		Connector() {};
		virtual ~Connector() {};

		virtual void checkElementCfgValid(AttributeableCfg& cfg) = 0;
		virtual int  executor(ProtocalCfg& cfg,const string& request,string& resopnse,const string& atx) = 0;
	};
};
